﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/loggedin.Master" AutoEventWireup="true" CodeBehind="allUrmaritori.aspx.cs" Inherits="Ciripescu_WebRole.allUrmaritori" %>

<%@ Register Assembly="WebTools.UI" Namespace="WebTools.UI.WebControls" TagPrefix="webtools" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="stylesheet" href="/CSS/stil.css"/>  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div>
<div id="errors" runat="server" class="errors"></div>
<h2>
<asp:Label ID="lblNrUrmaritori" runat="server" Text="Cei X urmaritori" CssClass="label_large"></asp:Label>
</h2>    
    
<div>
<asp:Repeater ID="rptUrmaritori" runat="server" 
        onitemcommand="rptUrmaritori_ItemCommand" 
        onitemdatabound="rptUrmaritori_ItemDataBound">
<ItemTemplate>
    <table>
    <tr>
    <td rowspan="2" align="center"><img src='<%#Eval("PictureUri") %>' alt=""/></td>
    </tr>
    
    <tr>
    <td>
    <%-- <a href='/profile.aspx?userName=<%#Eval("PartitionKey") %>' class="mylink"><%#Eval("PartitionKey") %></a><span>/<%#Eval("FullName") %></span>--%>
    <a href='/u/<%#Eval("PartitionKey") %>' class="mylink"><%#Eval("PartitionKey") %></a><span>/<%#Eval("FullName") %></span>
    </td>
    
    </tr>
    <tr>
    <td>
    
    </td>
    <td>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        
            <webtools:RolloverImageButton ID="btnFollow" runat="server" CommandArgument='<%#Eval("PartitionKey") %>' ImageUrl="/images/buttons/urmareste.png" MouseOutImageUrl="/images/buttons/urmareste.png" MouseOverImageUrl="/images/buttons/urmareste_o.png"></webtools:RolloverImageButton>
        </ContentTemplate>
        </asp:UpdatePanel>
        
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnFollow" EventName="Click" />
        </Triggers>
        <ContentTemplate>
        <asp:Label ID="lblAlreadyFollowed" runat="server"
            Text="urmarit..." Visible="false"></asp:Label>
        </ContentTemplate>
        </asp:UpdatePanel>
        
    </td>
    </tr>
    </table>
    
    
</ItemTemplate>
<SeparatorTemplate>
<hr />
</SeparatorTemplate>
</asp:Repeater>
</div>
<br />
<div align="center">
    <asp:ImageButton ID="btnNext" runat="server" onclick="btnNext_Click" ImageUrl="/images/buttons/next.png" />
</div>
</div>
</asp:Content>
